package com.midou.administration.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.midou.administration.bo.CommonResult;
import com.midou.administration.bo.MenuBo;
import com.midou.administration.bo.QuerySetMealPageBo;
import com.midou.administration.bo.menuGroupIdBo;
import com.midou.administration.entity.Desk;
import com.midou.administration.entity.DeskType;
import com.midou.administration.entity.Menu;
import com.midou.administration.entity.SetMeal;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface MenuService {
    //该分类 下的所有菜品
    List<Menu> queryBybusinessAndMenu(int desk);


    Page queryAllSetMeal(QuerySetMealPageBo qsmpb);


    Menu queryMenuOne(Integer mid);
    List<Menu> queryMenu(menuGroupIdBo mgb);
    List<Menu> queryAllMenu(QuerySetMealPageBo qsmpb);
    Integer addSetMeal(MenuBo mb);
    Integer groupRepeatVerification(menuGroupIdBo mgb);
    Integer delMenuInSetMeal(Integer mid);
    Integer modifyMenuInSetMeal(MenuBo mb);
    Integer updateShelf(CommonResult cr);
    Integer whetherRecommend(CommonResult cr);
}
